<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>验证</title>
    <script type="text/javascript">
        function method01(){
            var result=window.confirm("确定删除吗?");
            if(result){
                return true;
            }else {
                return false;
            }
        }
    </script>
</head>
<body>
<table width="60%" border="1px" align="center" cellpadding="0" cellspacing="0">
    <tr align="center">
        <td align="center">小明</td>
        <td>17</td>
        <td><a href="javascript:void (0)">更新</a>&nbsp;&nbsp;&nbsp;<a href="js02_01_01.html" onclick="return method01()">删除</a></td>
    </tr>

</table>
</body>
</html>